<?php

use Illuminate\Database\Seeder;

class EvaluateTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
         $arr=[];
        for($i=1;$i<=2000;$i++){

        	$tmp=[];
        	$tmp['score']=rand(1,5);
        	$tmp['evaluate_user_id']=rand(1,300);
        	$tmp['evaluate_store_id']=rand(1,130);
        	$tmp['evaluate_content']=str_random(30);
        	
        	$arr[]=$tmp;
        }

        DB::table('evaluate')->insert($arr);
    }
}
